Class java.awt.event.WindowEvent
All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.event.WindowEvent
Object
|
+----EventObject
|
+----AWTEvent
|
+----ComponentEvent
|
+----java.awt.event.WindowEvent
- public class WindowEvent
- extends ComponentEvent
The window-level event.
- Version:
- 1.12 07/01/98
- Author:
- Carl Quinn, Amy Fowler
-
WINDOW_ACTIVATED
- The window activated event type.
-
WINDOW_CLOSED
- The window closed event type.
-
WINDOW_CLOSING
- The window closing event type.
-
WINDOW_DEACTIVATED
- The window deactivated event type.
-
WINDOW_DEICONIFIED
- The window deiconified event type.
-
WINDOW_FIRST
- Marks the first integer id for the range of window event ids.
-
WINDOW_ICONIFIED
- The window iconified event type.
-
WINDOW_LAST
- Marks the last integer id for the range of window event ids.
-
WINDOW_OPENED
- The window opened event type.
-
java.awt.event.WindowEvent(Window, int)
- Constructs a WindowEvent object with the specified source window
and type.
-
getWindow()
- Returns the window where this event originated.
-
paramString()
-
WINDOW_ACTIVATED
public static final int WINDOW_ACTIVATED
- The window activated event type.
WINDOW_CLOSED
public static final int WINDOW_CLOSED
- The window closed event type. This event is delivered after
the window has been closed as the result of a call to hide or
destroy.
WINDOW_CLOSING
public static final int WINDOW_CLOSING
- The window closing event type. This event is delivered when
the user selects "Quit" from the window's system menu. If
the program does not explicitly hide or destroy the window as
a result of this event, the window close operation will be
cancelled.
WINDOW_DEACTIVATED
public static final int WINDOW_DEACTIVATED
- The window deactivated event type.
WINDOW_DEICONIFIED
public static final int WINDOW_DEICONIFIED
- The window deiconified event type.
WINDOW_FIRST
public static final int WINDOW_FIRST
- Marks the first integer id for the range of window event ids.
WINDOW_ICONIFIED
public static final int WINDOW_ICONIFIED
- The window iconified event type.
WINDOW_LAST
public static final int WINDOW_LAST
- Marks the last integer id for the range of window event ids.
WINDOW_OPENED
public static final int WINDOW_OPENED
- The window opened event type. This event is delivered only
the first time a window is made visible.
WindowEvent
public WindowEvent(Window source,
int id)
- Constructs a WindowEvent object with the specified source window
and type.
- Parameters:
- source - the component where the event originated
getWindow
public java.awt.Window getWindow()
- Returns the window where this event originated.
paramString
public java.lang.String paramString()
- Overrides:
- paramString in class ComponentEvent
All Packages Class Hierarchy This Package Previous Next Index